package com.snail.xgcd.mapper;

import com.snail.xgcd.bean.User;

import java.util.List;

public interface UserMapper {

    User findUser(User user);

    List<User> findAll(User user);

    int deleteByPrimaryKey(String id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
}